how to calculate unit consumption of electricity in bmc